home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 May: Tool Chest / Developer CD Series May 1996 (Tool Chest) (Apple Computer) (1996).iso / Sample Code / AppsToGo / •AppsToGo Reference / •AppsToGo Reference.rsrc / WFMT_650_a2E8 < prev    next >
Unknown  |  1994-09-22  |  1.4 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text


This file was not able to be converted.
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert Jesper Olsen Module (music/jesperOlsen) magic Supported
1% dexvert TTComp Archive (archive/ttcomp) fallback Supported
100% file TTComp archive data, binary, 2K dictionary default (weak)
99% file data default
66% TrID TTComp archive compressed (bin-2K) default (weak)
33% TrID Adobe PhotoShop Brush default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 05 00 01 00 00 00 1a | 00 00 00 00 00 00 00 1a |........|........|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 05 00 05 00 00 |........|........|
|00000030| 00 26 00 00 00 00 00 00 | 00 26 61 32 45 38 00 00 |.&......|.&a2E8..|
|00000040| 4e 16 00 00 20 19 00 00 | 00 00 00 00 00 00 00 00 |N... ...|........|
|00000050| 00 00 0c 57 68 69 63 68 | 43 6f 6e 74 72 6f 6c 00 |...Which|Control.|
|00000060| 00 06 00 00 00 00 00 b3 | 00 00 00 00 00 00 00 b3 |........|........|
|00000070| 00 00 00 14 03 c1 00 28 | 05 7e 00 ff 00 00 00 00 |.......(|.~......|
|00000080| 00 00 0f a8 00 00 00 00 | 4e 1c 00 00 00 09 00 00 |........|N.......|
|00000090| 00 04 00 04 ff fc ff fa | 00 04 00 04 ff fc ff fc |........|........|
|000000a0| 00 00 00 00 00 00 00 00 | 83 00 0b 40 10 6b 53 63 |........|...@.kSc|
|000000b0| 72 65 65 6e 41 50 49 2f | 31 39 39 39 36 00 06 47 |reenAPI/|19996..G|
|000000c0| 65 6e 65 76 61 00 00 59 | 42 6f 6f 6c 65 61 6e 20 |eneva..Y|Boolean |
|000000d0| 57 68 69 63 68 43 6f 6e | 74 72 6f 6c 28 50 6f 69 |WhichCon|trol(Poi|
|000000e0| 6e 74 20 6d 6f 75 73 65 | 4c 6f 63 2c 20 6c 6f 6e |nt mouse|Loc, lon|
|000000f0| 67 20 77 68 65 6e 2c 20 | 57 69 6e 64 6f 77 50 74 |g when, |WindowPt|
|00000100| 72 20 77 69 6e 64 6f 77 | 2c 20 43 6f 6e 74 72 6f |r window|, Contro|
|00000110| 6c 48 61 6e 64 6c 65 20 | 2a 63 74 6c 48 69 74 29 |lHandle |*ctlHit)|
|00000120| 3b 00 00 00 06 00 00 00 | 00 00 ac 00 00 00 00 00 |;.......|........|
|00000130| 00 00 ac 00 00 00 00 03 | c1 00 14 05 7e 00 ff 00 |........|....~...|
|00000140| 00 00 00 00 00 0f a8 00 | 00 00 00 4e 1d 00 00 00 |........|...N....|
|00000150| 09 00 00 00 04 00 04 ff | fc ff fa 00 04 00 04 ff |........|........|
|00000160| fc ff fc 00 00 00 00 00 | 00 00 00 83 00 0b 40 14 |........|......@.|
|00000170| 6b 53 63 72 65 65 6e 4f | 6e 65 4c 69 6e 65 2f 31 |kScreenO|neLine/1|
|00000180| 39 39 39 37 00 06 47 65 | 6e 65 76 61 00 00 4e 52 |9997..Ge|neva..NR|
|00000190| 65 74 75 72 6e 20 77 68 | 69 63 68 20 76 69 73 69 |eturn wh|ich visi|
|000001a0| 62 6c 65 20 63 6f 6e 74 | 72 6f 6c 20 6d 6f 75 73 |ble cont|rol mous|
|000001b0| 65 4c 6f 63 20 69 73 20 | 77 69 74 68 69 6e 2c 20 |eLoc is |within, |
|000001c0| 69 6e 64 65 70 65 6e 64 | 65 6e 74 20 6f 66 20 63 |independ|ent of c|
|000001d0| 6f 6e 74 6f 72 6c 20 73 | 74 61 74 65 2e 00 00 00 |ontorl s|tate....|
|000001e0| 06 00 00 00 00 00 44 00 | 00 00 00 00 00 00 44 00 |......D.|......D.|
|000001f0| 00 00 00 02 6b 04 40 02 | 6c 01 00 00 00 00 00 00 |....k.@.|l.......|
|00000200| 01 0f f1 00 00 00 00 00 | 00 00 00 00 0c 00 00 00 |........|........|
|00000210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000230| 00 00 00 00 06 00 00 00 | 00 00 6b 00 00 00 00 00 |........|..k.....|
|00000240| 00 00 6b 00 00 00 00 02 | 6b 02 28 03 c1 00 ff 00 |..k.....|k.(.....|
|00000250| 00 00 00 00 00 0f a8 00 | 00 00 00 4e 16 00 00 00 |........|...N....|
|00000260| 09 00 00 00 04 00 04 ff | fc ff fa 00 04 00 04 ff |........|........|
|00000270| fc ff fc 00 00 00 00 00 | 00 00 00 83 00 0b 40 0b |........|......@.|
|00000280| 6c 69 6e 6b 73 2f 31 39 | 39 39 30 00 06 4d 6f 6e |links/19|990..Mon|
|00000290| 61 63 6f 00 00 00 00 16 | 00 01 00 00 00 00 00 10 |aco.....|........|
|000002a0| 00 0c 00 01 00 00 00 00 | 00 00 00 00 00 00 00 06 |........|........|
|000002b0| 00 00 00 00 02 f9 00 00 | 00 00 00 00 02 f9 00 00 |........|........|
|000002c0| 00 00 00 00 75 30 02 6b | 01 ff 00 00 00 00 00 00 |....u0.k|........|
|000002d0| 0f a8 00 00 00 00 4e 1f | 00 00 00 09 00 00 00 04 |......N.|........|
|000002e0| 00 04 ff fc ff fa 00 04 | 00 04 ff fc ff fc 00 00 |........|........|
|000002f0| 00 00 00 00 00 00 83 00 | 0b 40 0a 62 6f 64 79 2f |........|.@.body/|
|00000300| 31 39 39 39 39 00 06 4d | 6f 6e 61 63 6f 00 02 8f |19999..M|onaco...|
|00000310| 42 6f 6f 6c 65 61 6e 20 | 57 68 69 63 68 43 6f 6e |Boolean |WhichCon|
|00000320| 74 72 6f 6c 28 50 6f 69 | 6e 74 20 6d 6f 75 73 65 |trol(Poi|nt mouse|
|00000330| 4c 6f 63 2c 20 6c 6f 6e | 67 20 77 68 65 6e 2c 20 |Loc, lon|g when, |
|00000340| 57 69 6e 64 6f 77 50 74 | 72 20 77 69 6e 64 6f 77 |WindowPt|r window|
|00000350| 2c 20 43 6f 6e 74 72 6f | 6c 48 61 6e 64 6c 65 20 |, Contro|lHandle |
|00000360| 2a 63 74 6c 48 69 74 29 | 3b 0d 0d 20 20 20 20 46 |*ctlHit)|;.. F|
|00000370| 69 6c 65 3a 20 55 74 69 | 6c 69 74 69 65 73 2e 68 |ile: Uti|lities.h|
|00000380| 0d 0d 49 4e 50 55 54 3a | 20 20 6d 6f 75 73 65 4c |..INPUT:| mouseL|
|00000390| 6f 63 20 20 20 20 20 20 | 20 20 4d 6f 75 73 65 20 |oc | Mouse |
|000003a0| 6c 6f 63 61 74 69 6f 6e | 2c 20 69 6e 20 6c 6f 63 |location|, in loc|
|000003b0| 61 6c 20 63 6f 6f 72 64 | 69 6e 61 74 65 73 2e 0d |al coord|inates..|
|000003c0| 20 20 20 20 20 20 20 20 | 77 68 65 6e 20 20 20 20 | |when |
|000003d0| 20 20 20 20 20 20 20 20 | 54 69 63 6b 43 6f 75 6e | |TickCoun|
|000003e0| 74 20 76 61 6c 75 65 20 | 6f 66 20 77 68 65 6e 20 |t value |of when |
|000003f0| 63 6c 69 63 6b 20 6f 63 | 63 75 72 65 64 2e 20 20 |click oc|cured. |
|00000400| 55 73 65 64 20 74 6f 20 | 64 65 74 65 72 6d 69 6e |Used to |determin|
|00000410| 65 20 69 66 20 74 68 65 | 0d 20 20 20 20 20 20 20 |e if the|. |
|00000420| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000430| 20 63 6c 69 63 6b 20 69 | 73 20 61 20 64 6f 75 62 | click i|s a doub|
|00000440| 6c 65 20 63 6c 69 63 6b | 20 6f 6e 20 74 68 65 20 |le click| on the |
|00000450| 63 6f 6e 74 72 6f 6c 2e | 0d 20 20 20 20 20 20 20 |control.|. |
|00000460| 20 77 69 6e 64 6f 77 20 | 20 20 20 20 20 20 20 20 | window | |
|00000470| 20 57 69 6e 64 6f 77 20 | 63 6f 6e 74 61 69 6e 69 | Window |containi|
|00000480| 6e 67 20 74 68 65 20 63 | 6f 6e 74 72 6f 6c 73 20 |ng the c|ontrols |
|00000490| 74 6f 20 74 65 73 74 2e | 0d 4f 55 54 50 55 54 3a |to test.|.OUTPUT:|
|000004a0| 20 63 74 6c 48 69 74 20 | 20 20 20 20 20 20 20 20 | ctlHit | |
|000004b0| 20 54 68 65 20 63 6f 6e | 74 72 6f 6c 20 74 68 61 | The con|trol tha|
|000004c0| 74 20 77 61 73 20 68 69 | 74 2c 20 69 66 20 61 6e |t was hi|t, if an|
|000004d0| 79 2e 0d 52 45 53 55 4c | 54 3a 20 42 6f 6f 6c 65 |y..RESUL|T: Boole|
|000004e0| 61 6e 20 20 20 20 20 20 | 20 20 20 54 72 75 65 20 |an | True |
|000004f0| 69 66 20 61 20 63 6f 6e | 74 72 6f 6c 20 77 61 73 |if a con|trol was|
|00000500| 20 68 69 74 2e 0d 0d 52 | 65 74 75 72 6e 73 20 77 | hit...R|eturns w|
|00000510| 68 69 63 68 20 76 69 73 | 69 62 6c 65 20 63 6f 6e |hich vis|ible con|
|00000520| 74 72 6f 6c 20 6d 6f 75 | 73 65 4c 6f 63 20 69 73 |trol mou|seLoc is|
|00000530| 20 77 69 74 68 69 6e 2c | 20 69 6e 64 65 70 65 6e | within,| indepen|
|00000540| 64 65 6e 74 20 6f 66 20 | 74 68 65 20 73 74 61 74 |dent of |the stat|
|00000550| 65 20 6f 66 20 74 68 65 | 20 63 6f 6e 74 72 6f 6c |e of the| control|
|00000560| 2e 0d 53 63 72 6f 6c 6c | 62 61 72 73 20 74 68 61 |..Scroll|bars tha|
|00000570| 74 20 61 72 65 20 69 6e | 61 63 74 69 76 65 20 61 |t are in|active a|
|00000580| 72 65 20 6e 6f 74 20 66 | 6f 75 6e 64 20 62 79 20 |re not f|ound by |
|00000590| 46 69 6e 64 43 6f 6e 74 | 72 6f 6c 2e 0d 0d 0d 00 |FindCont|rol.....|
|000005a0| 16 00 01 00 00 00 00 00 | 0b 00 09 00 04 00 00 00 |........|........|
|000005b0| 09 00 00 00 00 00 00 | |....... | |
+--------+-------------------------+-------------------------+--------+--------+